package io.xxx.mario.task.talk;

import io.xxx.mario.task.Task;
import io.xxx.mario.task.TaskMessage;
import io.xxx.mario.task.receive.Receiver;

import java.util.List;

public interface Talker {

    void say(Task task, Receiver receiver, List<TaskMessage> messages) throws InterruptedException;

    record Context(Task task, Receiver receiver, List<TaskMessage> messages) {
    }
}
